package com.tianxinweb.service;

import com.tianxinweb.entity.BankCard;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cboy
 * @since 2018-08-07
 */
public interface BankCardService extends IService<BankCard> {

    /**
     * 获取用户银行卡列表
     * @param userId
     * @return
     */
    List<BankCard> getUserBankCard(Integer userId);

    void addBankCard(BankCard bankCard);
}
